package com.coocaa.ops.common.core.base.constant;

/**
 * @author bijiahao
 * @date : 2018/9/12.
 * @description
 */
public final class CoverTypeConstants {
    private CoverTypeConstants(){

    }

    /**
     * 媒资
     */
    public static final String MEDIA = "media";

    /**
     * 应用-也拎出来独立
     */
    public static final String APP = "app";
    /**
     * 商城商品
     */
    public static final String MALL = "mall";

    /**
     * 自定义
     */
    public static final String CUSTOM = "custom";

    /**
     * 生活方式
     */
    public static final String MASK_LIFE = "maskLife";

    /**
     * 广电直播
     */
    public static final String TV_LIVE = "tvLive";

    /**
     * 使用后端模板封装点击事件的
     * @param coverType
     * @return
     */
    public static boolean isUseVmTemplateWrappperOnclick(String coverType){
        return APP.equals(coverType) || MALL.equals(coverType);
    }
}
